@width: 100%;

.display {
  display: inline-block;
  vertical-align: top;
}

.box {
  box-sizing: border-box;
}

.ly-content {
  .ly-pay {
    margin-top: 30px;
    position: relative;
    font-size: 0;
    h1{
      font-size: 16px;
    }
    .ly-list {
      width: 40%;
      padding: 40px 20px;
      .box;
      .display;
      li {
        width: 200px;
        height: 50px;
        display: block;
        line-height: 50px;
        margin-bottom: 30px;
        font-size: 18px;
        border: 1px solid #e5e5e5;
        cursor: pointer;
        &.ly-cation {
          border: 1px solid #000;
        }
        img {
          width: 40px;
          float: left;
          margin: 5px;
        }
        &:last-child {
          border: none;
        }
        a {
          font-size: 14px;
        }
      }
    }
    .ly-ping-pai {
      width: 60%;
      .display;
      img {
        width: @width;
      }
    }

  }
}



.ly-layer{
  width: @width;
  height: @width;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
  background: rgba(0,0,0,0.4);
  display: none;
  .ly-code {
    width: 260px;
    height: 300px;
    .box;
    position: absolute;
    padding: 30px;
    background: #fff;
    top: 50%;
    left: 50%;
    z-index: 9;
    margin-top: -150px;
    margin-left: -130px;
    box-shadow: 0 0 5px #333;
    img {
      width: @width;
    }
    p {
      line-height: 30px;
      font-size: 14px;
      text-align: center;
    }
    .ly-close{
      width: 40px;
      height: 60px;
      position: absolute;
      top: -60px;
      right: 0;
      cursor: pointer;
    }
  }
}

@media screen  and (max-width: 760px) {
  .ly-content {
    .ly-pay {
      .ly-list {
        width: @width;
        li{
          &:last-child{
            margin-bottom: 0;
          }
        }
      }
      .ly-ping-pai{
        width: @width;
      }
    }
  }
}